<script>
function effect() {
  const div = document.createElement('div')
  document.body.appendChild(div)
}
</script>